import { get, post } from '@/utils/request'

const prefix = 'search'

export default {
  recommend: id => {
    return post(`${prefix}/library/recommend?id=${id}`)
  },
  freightTemplates: data => {
    return get(`${prefix}/freight/list`, data)
  }
}
